package com.wsoft.hr.pm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 预警表
 * </p>
 *
 * @author Z001
 * @since 2025年03月07日 09:50:14
 */
@Getter
@Setter
@TableName("hr_pm_warning")
@Schema(name = "HrPmWarningEntity", description = "预警表")
public class HrPmWarningEntity extends BaseEntity {

    @Schema(description = "预警类型")
    @TableField("type")
    private String type;

    @Schema(description = "预警标题")
    @TableField("title")
    private String title;

    @Schema(description = "打开方式(组件：component 路由：router  地址：url)")
    @TableField("open_type")
    private String openType;

    @Schema(description = "组件/路由")
    @TableField("open_page")
    private String openPage;

    @Schema(description = "组织id")
    @TableField("hr_org_id")
    private Long hrOrgId;
}
